package com.layui.ad.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.layui.ad.entity.BrokerInfo;

import java.util.Map;

public interface BrokerService extends IService<BrokerInfo> {

    IPage<BrokerInfo> selectRecord(IPage<BrokerInfo> page, BrokerInfo binfo);

    Integer setBrokerStatus(Integer brokerId, Integer status);

    Integer delBroker(Integer brokerId);

    //get broker info
    BrokerInfo getInfoByBrokerId(Integer brokerId);

    Integer editBrokerInfo(Map brokerMap);
}
